package com.hiultra.archive.mapper;

import java.util.List;
import com.hiultra.archive.domain.ArchiveBoxIllegalDetailRecords;
import com.hiultra.common.core.domain.AjaxResult;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 非法携带详情Mapper接口
 *
 * @author 派大星
 * @date 2024-07-23
 */
public interface ArchiveBoxIllegalDetailRecordsMapper
{
    /**
     * 查询非法携带详情
     *
     * @param id 非法携带详情主键
     * @return 非法携带详情
     */
    public ArchiveBoxIllegalDetailRecords selectArchiveBoxIllegalDetailRecordsById(Long id);

    /**
     * 查询非法携带详情列表
     *
     * @param archiveBoxIllegalDetailRecords 非法携带详情
     * @return 非法携带详情集合
     */
    public List<ArchiveBoxIllegalDetailRecords> selectArchiveBoxIllegalDetailRecordsList(ArchiveBoxIllegalDetailRecords archiveBoxIllegalDetailRecords);

    /**
     * 新增非法携带详情
     *
     * @param archiveBoxIllegalDetailRecords 非法携带详情
     * @return 结果
     */
    public int insertArchiveBoxIllegalDetailRecords(ArchiveBoxIllegalDetailRecords archiveBoxIllegalDetailRecords);

    /**
     * 修改非法携带详情
     *
     * @param archiveBoxIllegalDetailRecords 非法携带详情
     * @return 结果
     */
    public int updateArchiveBoxIllegalDetailRecords(ArchiveBoxIllegalDetailRecords archiveBoxIllegalDetailRecords);

    /**
     * 删除非法携带详情
     *
     * @param id 非法携带详情主键
     * @return 结果
     */
    public int deleteArchiveBoxIllegalDetailRecordsById(Long id);

    /**
     * 批量删除非法携带详情
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteArchiveBoxIllegalDetailRecordsByIds(Long[] ids);

    /**
     * 获取非法携带档案盒详细信息
     */
    public List<ArchiveBoxIllegalDetailRecords> selectArchiveBoxillegalByRecordId(String recordId);
}
